package com.zh.goods.dao;


import com.zh.goods.domain.SiteDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 地址表
 * @author lds
 * @email 1992lcg@163.com
 * @date 2019-04-09 17:29:44
 */
@Mapper
public interface GoodsSiteDao {

	SiteDO get(String id);

	SiteDO getDefault(String userId);

	List<SiteDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(SiteDO site);
	
	int update(SiteDO site);
	
	int remove(String id);
	
	int batchRemove(String[] ids);
}
